Skip to content

Remove language server log preference #635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2021
Merged

Conversation

AlbyIanna
Copy link
Contributor

What

Remove the Enable language server logging option in the preferences

Why

This option was needed in the early development and testing phase of the Arduino Language Server. However, this is not something the target user will ever have a need for, so it only makes the IDE less friendly.

@AlbyIanna AlbyIanna requested review from fstasi and ubidefeo November 26, 2021 12:54
@AlbyIanna AlbyIanna force-pushed the remove-language-server-log branch from cb6f134 to b33cc30 Compare November 26, 2021 13:42
@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Nov 27, 2021
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please preserve support for enabling language server logging by setting the arduino.language.log settings key manually in settings.json.

The logging capabilities can still be useful for investigating reports of problems with the Arduino Language Server. In that case, we can guide the user in enabling the logging via the IDE's secondary advanced UI (or just using a text editor on settings.json). So there is no need to have a control for this via the IDE's primary UI, and this is why it should be removed from the File > Preferences interface.

@AlbyIanna AlbyIanna force-pushed the remove-language-server-log branch from b33cc30 to 807a318 Compare November 29, 2021 10:36
@AlbyIanna AlbyIanna requested a review from per1234 November 29, 2021 10:37
@AlbyIanna
Copy link
Contributor Author

@per1234 thank you for the hint. I've just re-enabled the option, now it can be toggled in the advanced settings but it's not shown in the main Preferences diaog.

Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @AlbyIanna!

@fstasi fstasi merged commit 6e34a27 into main Nov 29, 2021
@fstasi fstasi deleted the remove-language-server-log branch November 29, 2021 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants